import { Player } from "../db/Player";
import { BaseRequest, BaseResponse } from "./base";

/**
 * 查询排行榜数据
 */
export interface ReqGetRankList extends BaseRequest{
    /**渠道 */
    channel:string
}

export interface ResGetRankList extends BaseResponse{
    /**排行榜列表 */
    list: Pick<Player, 'openId' | 'nickName' | 'avatarUrl' | 'score'>[]
}
